IP Library Granted Patent US 12,326,848
Granted Patent B2
US 12,326,848 · App. 18/384,666 · Granted Jun 10, 2025

System, method and computer readable storage medium for partitioning keyspace

Inventor: Jihun Song (Seoul, KR)
Assignee: SAMSUNG SDS CO., LTD.
G06F16/2282G06F16/24554
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,326,848
App. No.
18/384,666
Granted
Jun 10, 2025
Kind
B2
Abstract

A system for partitioning a keyspace includes: a system for partitioning a keyspace, includes: a server configured to transmit a partition setting item based on a keyspace creation request; and a database configured to receive the partition setting item and configured to create a first partition for the keyspace based on the received partition setting item, wherein the partition setting item includes a replication factor and at least one of a size of a second partition for storing data or a storage period of the data.

Claims (40)

1. A system for partitioning a keyspace, the system comprising:

one or more processors; and

a memory storing one or more programs,

wherein the one or more programs are executed by the one or more processors, and

the one or more programs include instructions for performing operations comprising:

transmitting a partition setting item based on a keyspace creation request; and

receiving, in a database, the partition setting item and creating a first partition for the keyspace based on the received partition setting item,

wherein the partition setting item comprises a replication factor and at least one of a size of a second partition for storing data or a storage period of the data.

2. The system of claim 1 , wherein the one or more programs further include instructions for performing operations further comprising requesting a registration of a cloud service based on an event to a cloud-service-providing device, and

wherein the cloud-service-providing device stores the cloud service requested for the registration.

3. The system of claim 2 , wherein, based on the event being a first event, in which a first access frequency is lower than a preset access frequency, the cloud service provides a first command for reducing the replication factor to the database,

wherein, based on the event being a second event, in which the storage period of the data has elapsed, the cloud service is configure to provide a second command to delete the data for which the storage period has elapsed to the database, and

wherein, based on the event being a third event, in which a data usage compared to the size of the partition is a predetermined ratio or more, the cloud service provides a third command to additionally create a third partition for storing the data to the database.

4. The system of claim 3 , wherein the one or more programs further include instructions for performing operations further comprising:

monitoring a second access frequency of the data stored in the partition and a magnitude of the data stored in the partition, and

transmitting an event alarm comprising at least one of the first event, the second event, or the third event based on a monitoring result to the cloud-service-providing device.

5. The system of claim 4 , wherein the cloud-service-providing device provides, based on the event alarm, the cloud service according to at least one of the first event, the second event, or the third event to the database in an event-triggered manner.

6. The system of claim 1 , wherein the partition setting item further comprises a name of the keyspace, a time stamp, and a storage period, and

wherein the partition setting item is stored as a JavaScript Object Notation (JSON) file.

7. A method of partitioning a keyspace, the method comprising:

transmitting, in a server, a partition setting item based on a keyspace creation request; and

receiving, in a database, the partition setting item and creating a first partition for the keyspace based on the received partition setting item,

wherein the partition setting item comprises a replication factor and at least one of a size of a second partition for storing data or a storage period of the data.

8. The method of claim 7 , further comprising:

requesting, in the server, a registration of a cloud service based on an event to a cloud-service-providing device; and

storing, in the cloud-service-providing device, the cloud service requested for the registration.

9. The method of claim 8 , wherein, based on the event being a first event, in which a first access frequency is lower than a preset access frequency, the cloud service provides a first command for reducing the replication factor to the database,

based on the event being a second event, in which the storage period of the data has elapsed, the cloud service provides a second command to delete the data for which the storage period has elapsed to the database, and

based on the event being a third event, in which a data usage compared to the size of the partition is a predetermined ratio or more, the cloud service provides third command to additionally create a third partition for storing the data to the database.

10. The method of claim 9 , further comprising:

monitoring, in the server, a second access frequency of the data stored in the partition and a magnitude of the data stored in the partition; and

transmitting, by the server, an event alarm comprising at least one of the first event, the second event, or the third event based on a result of the monitoring to the cloud-service-providing device.

11. The method of claim 10 , further comprising:

providing, by the cloud-service-providing device based on the event alarm, the cloud service according to at least one of the first event, the second event, or the third event to the database in an event-triggered manner.

12. The method of claim 7 , wherein the partition setting item further comprises a name of the keyspace, a time stamp, and a storage period, and

wherein the partition setting item is stored as a JavaScript Object Notation (JSON) file.

13. A non-transitory computer-readable recording medium storing computer program, which, when executable by at least one processor, causes the at least one processor to execute:

transmit, in a server, a partition setting item based on a keyspace creation request; and

receive, in a database, the partition setting item and create a first partition for a keyspace based on the received partition setting item,

wherein the partition setting item comprises a replication factor and at least one of a size of a second partition for storing data or a storage period of the data.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 27, 2023
From: SONG, JIHUN
To: SAMSUNG SDS CO., LTD.
Reel/Frame 065375/0670 →
Continuity (1)
Related Publication 20240143571A1 · May 2, 2024
References Cited (24)
US 9280570B2 · Pruner · 2016 [cited by applicant]
US 10078682B2 · Tan et al. · 2018 [cited by applicant]
US 10394847B2 · Stringham · 2019 [cited by applicant]
US 10769111B2 · Bailey et al. · 2020 [cited by applicant]
US 20130332484A1 · Gajic · 2013 [cited by examiner]
US 20170139910A1 · Mcalister et al. · 2017 [cited by applicant]
US 20170357687A1 · Bulkowski et al. · 2017 [cited by applicant]
US 20180101399A1 · Jain et al. · 2018 [cited by applicant]
US 20190102418A1 · Vasudevan · 2019 [cited by examiner]
US 20200287830A1 · Capper · 2020 [cited by examiner]
US 20210334282A1 · Srinivasan et al. · 2021 [cited by applicant]
US 20220335027A1 · Subramanian Seshadri · 2022 [cited by examiner]
CN 111290710A · 2020 [cited by applicant]
WO 2022220830A1 · 2022 [cited by applicant]
Data Stax, “Apache Cassandra™ 1.2 Documentation”, Jan. 13, 2013, 201 pages, XP055142834. [cited by applicant]
Elahe Khatibi et al., “A dynamic data dissemination mechanism for Cassandra NoSQL data store”, The Journal of Supercomputing, vol. 75, Jul. 29, 2019, pp. 7479-7496, XP036941339, DOI: 10.1007/s11227-019-02959-7. [cited by applicant]
Communication issued on Mar. 12, 2024 by the European Patent Office for European Patent Application No. 23205165.6. [cited by applicant]
Subramanian Hariharan, “Using Docker to Create a Cassandra Cluster”, Analytics Vidhya, Data Science Blogathon, Sep. 2, 2022, 8 pages. [cited by applicant]
Overview, Apache Cassandra, Aug. 28, 2020, 4 pages, https://cassandra.apache.org/doc/trunk/cassandra/architecture/overview.html. [cited by applicant]
“Monitoring Cassandra with Prometheus”, Prometheus Cassandra, May 17, 2020, 12 pages, https://www.cloudwalker.io/2020/05/17/monitoring-cassandra-with-prometheus/. [cited by applicant]
Monitoring, Apache Cassandra, Aug. 28, 2020, 66 pages, https://cassandra.apache.org/doc/latest/cassandra/operating/metrics.html. [cited by applicant]
Jimmy Guerrero, “Apache Cassandra DB Architecture Fundamentals”, Aug. 9, 2018, 5 pages, https://www.yugabyte.com/blog/apache-cassandra-architecture-how-it-works-lightweight-transactions/. [cited by applicant]
Vector Database for Production-level Gen AI, DataStax, 2023, 7 pages, DataStax.com. [cited by applicant]
Communication issued on Oct. 1, 2024 by the European Patent Office for EP Patent Application No. 23205165.6. [cited by applicant]