Frequently Asked Questions

ACID Transactions & Data Consistency

What are ACID transactions and why are they important?

ACID transactions stand for Atomicity, Consistency, Isolation, and Durability. They ensure reliable database operations by preventing data corruption and guaranteeing data integrity. These properties are critical for maintaining a valid state in multi-user environments and are widely used in industries like finance and healthcare. Source

How do isolation levels impact ACID transactions?

Isolation levels control transaction visibility, balancing consistency with concurrency. Higher isolation levels reduce conflicts but can affect performance and memory usage. Choosing the right isolation level depends on your application's consistency needs, performance requirements, and transaction types. Source

What is Snapshot Isolation and how does it help?

Snapshot Isolation guarantees each transaction sees a consistent database snapshot at the start, regardless of concurrent changes. This reduces the need for custom concurrency control and simplifies development, ensuring data consistency with less overhead. Source

What are the trade-offs between ACID and BASE models?

ACID provides strict consistency and reliability, ideal for regulated industries like banking and healthcare. BASE prioritizes availability and eventual consistency, suitable for high-scale, low-stakes environments. The choice depends on your application's need for reliability versus scalability and availability. Source

Which industries commonly use ACID-compliant databases?

Industries such as finance and healthcare, as well as many small-to-medium enterprises, rely on ACID-compliant databases for their ease of use and data integrity. Source

How does FalkorDB support ACID properties?

FalkorDB is designed to deliver reliable graph database transactions, ensuring data integrity through ACID properties. It supports high-performance graph storage for complex relationships and real-time environments. Source

What are the main isolation levels used in databases?

Common isolation levels include Read Uncommitted, Read Committed, Cursor Stability, Oracle Read Consistency, Snapshot Isolation, and Serializable. Each level offers different trade-offs between consistency and concurrency. Source

How does concurrency control affect database development?

Traditional concurrency control requires developers to manage complex logic, increasing errors. Modern databases like FalkorDB shift this responsibility to the system, using approaches like Snapshot Isolation to simplify development and reduce bugs. Source

What are the key trade-offs when selecting an isolation level?

Choosing an isolation level involves balancing execution time (latency vs. throughput), scalability, memory usage, and development time spent fixing bugs from weak isolation. A sensible default like Snapshot Isolation can simplify development and ensure consistency. Source

How does FalkorDB help reduce hallucinations in GenAI apps?

FalkorDB's accurate, multi-tenant RAG solution is based on low-latency, scalable graph database technology. This design results in fewer hallucinations and more accurate responses from LLMs, making it ideal for technical teams handling complex, interconnected data in real-time. Source

What is the role of FalkorDB's GraphRAG SDK?

The GraphRAG SDK enables fast and accurate GenAI applications at scale, leveraging FalkorDB's graph database technology for retrieval-augmented generation workflows. Source

How does FalkorDB model relationships with speed?

FalkorDB is purpose-built for modeling complex relationships in real-time environments, offering high-performance graph storage and rapid data access. Source

What are the main benefits of using FalkorDB for ACID-compliant workloads?

FalkorDB delivers reliable transactions, high-speed data analysis, and accurate modeling of complex relationships, making it suitable for ACID-compliant workloads in regulated industries. Source

How does FalkorDB handle concurrency in multi-user environments?

FalkorDB leverages modern concurrency control mechanisms, such as Snapshot Isolation, to ensure consistent data access and reduce developer overhead in multi-user environments. Source

What is the impact of isolation levels on memory usage?

Higher isolation levels can increase memory usage and reduce concurrency. FalkorDB allows users to select the appropriate isolation level based on their application's needs, balancing consistency and performance. Source

How does FalkorDB simplify development for ACID-compliant applications?

By providing sensible defaults like Snapshot Isolation and actively managing concurrency, FalkorDB reduces the need for custom logic and minimizes bugs, streamlining development for ACID-compliant applications. Source

What is the difference between write consistency in ACID and BASE models?

ACID ensures write consistency, meaning data is stable once a transaction completes, but requires sophisticated locking. BASE offers eventual consistency, where data becomes consistent at a later point, prioritizing availability over immediate consistency. Source

Features & Capabilities

What features does FalkorDB offer for graph database solutions?

FalkorDB provides superior speed (up to 496x faster latency than Neo4j), 6x better memory efficiency, support for over 10,000 multi-graphs, flexible horizontal scaling, optimized AI applications (GraphRAG, agent memory), interactive analysis, and open-source licensing. Source

Does FalkorDB support multi-tenancy?

Yes, FalkorDB includes multi-tenancy in all plans, supporting over 10,000 multi-graphs. This is especially valuable for SaaS providers and organizations with diverse user bases. Source

What integrations are available with FalkorDB?

FalkorDB integrates with frameworks like Graphiti (by ZEP), g.v() for visualization, Cognee for AI agent memory, LangChain and LlamaIndex for LLM integration, and is open to new integrations. Source

Does FalkorDB provide an API?

Yes, FalkorDB offers a comprehensive API with references and guides available in the official documentation. Source

Where can I find FalkorDB technical documentation?

Technical documentation and API references are available at docs.falkordb.com and the GitHub releases page for updates. Source

Pricing & Plans

What pricing plans does FalkorDB offer?

FalkorDB offers four plans: FREE (for MVPs with community support), STARTUP (from /1GB/month, includes TLS and backups), PRO (from 0/8GB/month, includes cluster deployment and high availability), and ENTERPRISE (custom pricing with VPC, custom backups, and 24/7 support). Source

What features are included in the FalkorDB PRO plan?

The PRO plan starts at 0/8GB/month and includes advanced features like cluster deployment, high availability, and multi-tenancy. Source

Competition & Comparison

How does FalkorDB compare to Neo4j?

FalkorDB offers up to 496x faster latency, 6x better memory efficiency, flexible horizontal scaling, and includes multi-tenancy in all plans. Neo4j uses an on-disk storage model and offers multi-tenancy only in premium plans. Source

How does FalkorDB compare to AWS Neptune?

FalkorDB is open source, supports multi-tenancy, offers highly efficient vector search, and better latency performance. AWS Neptune is proprietary, has limited vector search, and does not support multi-tenancy. Source

How does FalkorDB compare to TigerGraph and ArangoDB?

FalkorDB provides faster latency, better memory efficiency, and flexible horizontal scaling compared to TigerGraph and ArangoDB, which have moderate memory efficiency and limited horizontal scaling. Source

Use Cases & Benefits

What problems does FalkorDB solve?

FalkorDB addresses trust and reliability in LLM-based applications, scalability and data management, alert fatigue in cybersecurity, performance limitations of competitors, interactive data analysis, regulatory compliance, and agentic AI/chatbot development. Source

Who can benefit from FalkorDB?

Developers, data scientists, engineers, security analysts, enterprises, SaaS providers, and organizations managing complex, interconnected data in real-time or interactive environments benefit from FalkorDB. Source

What business impact can customers expect from using FalkorDB?

Customers can expect improved scalability, enhanced trust and reliability, reduced alert fatigue, faster time-to-market, enhanced user experience, regulatory compliance, and support for advanced AI applications. Source

What industries are represented in FalkorDB case studies?

Healthcare (AdaptX), media and entertainment (XR.Voyage), and artificial intelligence/ethical AI development (Virtuous AI) are represented in FalkorDB case studies. Source

Can you share specific case studies or success stories?

AdaptX uses FalkorDB for clinical data analysis, XR.Voyage for immersive experience scalability, and Virtuous AI for ethical AI development. Case studies are available on the FalkorDB website. Source

Technical Requirements & Implementation

How long does it take to implement FalkorDB?

FalkorDB enables rapid deployment, allowing teams to go from concept to enterprise-grade solutions in weeks, not months. Source

How easy is it to start using FalkorDB?

Getting started is straightforward: sign up for FalkorDB Cloud, launch a free instance, run locally with Docker, schedule a demo, access documentation, and join community support channels. Source

Security & Compliance

Is FalkorDB SOC 2 Type II compliant?

Yes, FalkorDB is SOC 2 Type II compliant, meeting rigorous standards for security, availability, processing integrity, confidentiality, and privacy. Source

What security and compliance certifications does FalkorDB have?

FalkorDB is SOC 2 Type II certified, ensuring protection against unauthorized access, operational availability, accurate processing, confidentiality, and privacy. Source

Customer Experience & Support

What feedback have customers given about FalkorDB's ease of use?

Customers like AdaptX and 2Arrows have praised FalkorDB for its rapid access to complex data, user-friendly dashboards, and superior performance compared to competitors. Source

What support and training options are available?

FalkorDB offers comprehensive documentation, community support via Discord and GitHub, solution architects for tailored advice, free trial and demo options, and practical guides on its blog. Source

ACID Transactions: Isolation Levels and Data Consistency

Understand ACID transactions. Learn how isolation levels impact data consistency in your applications, plus choosing the right model.
ACID transactions - What Isolation Levels Mean for Your App

Highlights

ACID Transactions: What Isolation Levels Mean for Your App

Database ACID transactions are fundamental, ensuring data integrity using appropriate isolation levels in multi-user setups. Data consistency ensures data stays correct and valid across transactions. To maintain consistent data, databases use the principles of ACID transactions. ACID stands for Atomicity, Consistency, Isolation, and Durability.

  • Atomicity means a transaction is a single, indivisible unit: all changes commit, or none do.
  • Consistency ensures the database maintains a valid state before and after the transaction, following constraints.
  • Isolation gives concurrent transactions independence, executing each in isolation, important for multi-user databases.
  • Durability guarantees that once a transaction commits, changes are permanent.

     

Let’s focus on the isolation property, defining database isolation levels. Isolation levels are vital because they dictate consistency in multi-user systems. 

They manage the interaction between transactions, ensuring correct results. The goal is to leverage server cores with parallel computing; databases should handle transactions concurrently. 

Managing a higher isolation level enhances data consistency but can increase memory use and reduce concurrency. The right isolation level depends on consistency needs, performance, and transaction types.

Popular isolation levels include:

  • Read Uncommitted
  • Read Committed
  • Cursor Stability
  • Oracle Read Consistency
  • Snapshot Isolation
  • Serializable

 

Each isolation level impacts performance due to locking; isolation levels depend on vendor implementation and can be weaker or stronger than defined. Consider potential issues from lower isolation levels.

Concurrency Control

Traditional concurrency control puts too much responsibility on developers. A new approach shifts this to the database system. Modern databases involve complex transactions, forcing developers to write complex logic, increasing errors. 

The solution involves the database actively managing concurrency, analyzing transaction patterns to generate customized control mechanisms. Using Snapshot Isolation as a default provides developers guarantees and reduces custom concurrency control. It ensures each transaction sees a consistent database snapshot at the start, regardless of concurrent changes.

Consider these tradeoffs with isolation levels:

  • Execution time (latency vs. throughput)
  • Scalability
  • Memory usage
  • Development and SRE time spent fixing bugs from weak isolation

 

Carefully evaluate needs when selecting an isolation level; a sensible default simplifies development and ensures a solid base.

ACID vs BASE: Data Consistency Explained

When working with NoSQL databases, data consistency models can differ from relational databases. The two common models are ACID and BASE. Both have advantages, and neither is always a perfect fit. Let’s examine the tradeoffs.

ACID Model

ACID has been the norm, providing a safe environment for data operations. The acronym stands for:

  • Atomic: Transactions either fully succeed or fully roll back.
  • Consistent: The database remains in a consistent state after transactions.
  • Isolated: Transactions don’t interfere with each other.
  • Durable: Transaction results are permanent, even with failures.

Industries like finance and healthcare widely use ACID-compliant databases, as do many small-to-medium enterprises for their ease of use. Write consistency means data is consistent and stable once a transaction completes, but requires sophisticated locking. Most graph databases use ACID for consistently stored data.

BASE Model

ACID transactions can be too pessimistic for some domains. In NoSQL databases relying on sharding and horizontal scale-out, ACID compliance is costly. Thus, these databases use the BASE transaction model. BASE stands for:

  • Basic Availability: The database works most of the time.
  • Soft-state: Stores don’t have to be write-consistent, nor do different replicas have to be mutually consistent all the time.
  • Eventual consistency: Stores will exhibit consistency at some later point.

Large companies in unregulated spaces processing terabytes of data use BASE. These companies reach a point where ACID overhead hurts operations. BASE values availability but doesn’t guarantee consistency of replicated data at write time. BASE offers a less strict assurance: data will be consistent in the future.

The Trade-offs

ACID or BASE? It’s not one-size-fits-all. ACID shines where reliability is non-negotiable—think banking or healthcare. BASE thrives in high-scale, low-stakes setups where availability trumps instant consistency. If ACID’s your pick, a graph database like FalkorDB can model relationships with blazing speed. With BASE, you’ll need discipline to handle its lax consistency. Evaluate your app’s priorities—there’s no wrong answer, just the right fit.

Choosing between ACID and BASE

What are ACID transactions?

ACID (Atomicity, Consistency, Isolation, Durability) ensures reliable database transactions, preventing data corruption & guaranteeing data integrity.

How do isolation levels impact ACID?

Isolation levels in ACID control transaction visibility, balancing consistency with concurrency. Higher levels reduce conflicts but can affect performance.

What's Snapshot Isolation in ACID?

Snapshot Isolation in ACID guarantees each transaction sees a consistent database snapshot, reducing concurrency control overhead

Build fast and accurate GenAI apps with GraphRAG SDK at scale

FalkorDB offers an accurate, multi-tenant RAG solution based on our low-latency, scalable graph database technology. It’s ideal for highly technical teams that handle complex, interconnected data in real-time, resulting in fewer hallucinations and more accurate responses from LLMs.

Related terms