I am looking for this feature to be able to write to Cassandra through Ignite layer on top similar to how Cassandra supports "with" timestamp feature, so that stale updates can be eliminated. The reason we want to write through Ignite is because we may get a read call immediately after writing and the API needs to serve the latest and not wait for TTL or LRU on Ignite Cache. On the other hand, we could write to Cassandra directly and then invalidate/remove the entry to ensure latest data is served. But there could be a better way?
Write through Ignite to Cassandra using "with" timestamp to eliminate stale writes to Cassandra
64 Views Asked by ramya magham At
1
There are 1 best solutions below
Related Questions in CASSANDRA
- how to create a chess board with Queen in the central position and all its moves in assembler code
- Passing arguments to ENTRYPOINT causes the container to start and run indefinitely
- Apache Cassandra Node Driver Connection
- Simulate Cassandra DB timeout
- How to update Cassandra Lucene index with a new column? rebuild or update index?
- Cassandra JDBC connection string for logstash
- Cassandra OversizedMessageException
- dsbulk unload is failing after ran couple of hours with OOM issue
- Cassandra: "Model keyspace not set" and "Connection name doesn't exist in the registry" Errors
- Unable to cqlsh to a cassandra docker container remotely
- Forward pagination with object mapper in java asyn
- Allow filter in cassandra query
- How to fix bytes unrepaired in cassandra
- Can't install Cassandra using RPM packages for RHEL 9
- Why can't get a connection to Cassandra running on Docker from a Spring Boot instace using spring-boot-starter-data-cassandra on first boot?
Related Questions in IGNITE
- Apache Ignite c++ client 2.16. How to handle the connection lost scenarios in the middle of any cache insert/remove/get operations
- when will EvictionPolicy start to deltete data? and how it works?
- The retrieval time for the Apache Ignite cache is too long
- Is there a easy way to identify which metric are global vs node specific?
- Apache Ignite c++ client 2.16. with Transactions - IGNITE_ERR_TX_THIS_THREAD Issue
- Apache Ignite cluster nodes getting down abruptly
- Apache Ignite 2.16 - c++ support for Transactions for a dynamically created cache using thin client
- Is there any way to see the number of thin clients connected to a server?
- H2 DB version that is compatible with Apache Ignite 2.16
- What does 'Current affinity assignment is not ideal, it is waiting for cache' mean in Ignite logs?
- Bear minimum Ignite cluster for tests
- Scala case class as Ignite Cache key
- How do Configure Index forIn memory Ignite Cache without Persistent Storage
- Trying to track cache behaviour using JFR when testing Apache Ignite with YCSB
- How to specify partition count on cache creation using Ignite thin client?
Related Questions in TIMESTAMP-WITH-TIMEZONE
- MySQL: Inserting datetime value (including timezone) results in wrong column value
- How can I 'tell' PostgreSQL what the timestamp format is when I INSERT a text string that represents a timestamp into a table?
- Tests fail in Drone CI due to Go & Postgres `wall` mismatch in `time.Time` values
- How to make Postgres return timestamps in a given timezone?
- Is this SET TIME ZONE supposed to work like this with sqlx?
- How to map a Postgres Rails timestampz array with commas
- from_unixtime still displaying 19 hours past expected time
- Converting date+time in Character format to CET while correctly taking into account daylight savings
- Convert normal human readable datetime to unix timestamp in Snowflake
- Javascript AssertionError for database objects with generated timestamps
- why convertotimezone() function is not available in AZURE DATA FACTORY for my company login?
- Need to convert date format to Chicago tIME ZONE format as In azure data flow explorer expression builder , tried so many bit not useful , example is
- Storing ZonedDateTime in Postgres in UTC
- Timestampz date conversion in Excel
- POSIXlt object showing NA values after conversion
Related Questions in LRU
- Number of hits in fibonacci using lru_cache
- Caching : functools vs API Gateway
- double value contains 'm' at the end while printing in google benchmarks table
- Ordering is not correct in TreeSet
- Is there a way to debug eviction candidates, least recently used or least frequently used keys in Redis?
- Why doesn't this implementation of LRU cache work?
- How to properly cache reads from a sql query if it's possible the sql table can be mutated between reads with the same input
- Number of hits in Fibonacci using dynamic programming
- Proper way to lru cache a read call for data that may or may not have been written at the time of the call
- How to check whether an iterator is uninitialized in C++? or compare an iterator against NULL?
- Vert.x SharedData - can it reliably store an LRU?
- Making generic LRU Cache in c for postgresql extension
- Cachified - How to remove a cached value with Next.js?
- Separate lru for each argument value?
- Does LRU caching prevent sentry from creating multiple instances?
Related Questions in WRITE-THROUGH
- In a multilevel cache system does write-through policy allows to write to all caches till main memory?
- Redis extensibility for write-behind cache for .NET
- Write-Through and Read-Through caches
- Write through Ignite to Cassandra using "with" timestamp to eliminate stale writes to Cassandra
- How to programmatically override ehcache configuration set in xml file? Or How to set CacheLoaderWriter bean to ehcache xml configuration?
- Write back or Write through for data output
- write through access pattern for cache
- Making better sense of the PTX store caching modes
- Memory access frequency in write through cache (write allocate/ No write allocate)?
- Write-Through Cache
- Mirror SVN Repository [Write-through proxying]
- Does the 'Enable Advanced Performance' override FILE_FLAG_WRITETHROUGH on Win 2k3/SQL Server 2005
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
It seems that what you need is a cache with read-through and write-through enabled. Create a cache with a configuration similar to the following:
When you write to this cache, the write will be syncrhonously propagated to Cassandra, and when you read it, Ignite will fetch the value from Cassandra if it doesn't have it already.
NOTE: If you write to Cassandra directly, Ignite won't know about that and will continue serving stale values. When using read-through and write-though it's best to route all your writes through Ignite.