Skip to content

Security focused ACID compliant transactional database with rollback support, optimised for read operations and writes are atomic.

Notifications You must be signed in to change notification settings

hackwave/segurodb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Seguro DB

Fast and reliable database, optimised for read operations.

TODO: Additional security layers, mirroing, versioning, session and long-term encryption will be implemented soon.

Database options

  • Journal eras (usize)
  • Preallocated memory (u64)
  • Extend threshold in % (u8)

Database properties

  • Version (u32)
  • Used memory (u64)

get operation

  • Check cache
  • Check journal
  • Read from memmap

commit operation

  • Create and push new journal era

flush operation

  • Create virtual commit from final journal eras
  • Delete journal eras
  • Copy content of virtual commit to memmap
  • Delete virtual commit

rollback operation

  • Pop and delete journal era

recover operation

  • If valid virtual commit exists copy it to memmap and delete
  • Delete all invalid journal eras

About

Security focused ACID compliant transactional database with rollback support, optimised for read operations and writes are atomic.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages