services-flake/doc/cassandra.md
Abhishek Singh 6aeb0eafe6
cassandra: init service (#116)
* cassandra: init service

* cassandra: add cassandra/conf files

* cassandra_test: change package to cassandra_4

* update readiness_probe

* update cassandra_test

* cassandra: add doc

* cassandra_4 doesn't require python-2

---------

Co-authored-by: shivaraj-bh <sbh69840@gmail.com>
2024-03-03 16:07:36 +05:30

32 lines
715 B
Markdown

# Cassandra
[Cassandra] is a free and open-source, distributed, wide-column store, NoSQL database management system designed to handle large amounts of data across many commodity servers, providing high availability with no single point of failure.
[Cassandra]: https://cassandra.apache.org/_/index.html
## Getting Started
```nix
# In `perSystem.process-compose.<name>`
{
services.cassandra."cass1".enable = true;
}
```
{#tips}
## Tips & Tricks
{#change-port}
### Change the default port
By default, the Cassandra server is started on port `9042`. To change the port, we can use the following config:
```nix
{
services.cassandra."cass1" = {
enable = true;
nativeTransportPort = 9043;
};
}
```