Coder Social home page Coder Social logo

niledatabase / niledatabase Goto Github PK

View Code? Open in Web Editor NEW
619.0 7.0 29.0 303.93 MB

A Postgres platform to ship multi-tenant AI applications - fast, safe and limitless

Home Page: https://thenile.dev

License: Apache License 2.0

TypeScript 30.07% CSS 1.45% JavaScript 1.11% MDX 67.37%
authentication multiregion multitenant postgresql saas vector serverless

niledatabase's Introduction

Screen Shot 2023-06-21 at 7 35 32 PM


Nile

Nile is a Postgres platform that decouples storage from compute, virtualizes tenants, and supports vertical and horizontal scaling globally to ship AI-native B2B applications fast while being safe with limitless scale. All B2B applications are multi-tenant. A tenant/customer is primarily a company, an organization, or a workspace in your product that contains a group of users. A B2B application provides services to multiple tenants. Tenant is the basic building block of all B2B applications.

Features

  • Unlimited Postgres databases, Unlimited virtual tenant databases
  • Secure isolation for customer's data and embeddings
  • Customer-specific vector embeddings at 10x lower cost
  • Autoscale to millions of tenants and billions of embeddings
  • Place tenants on serverless or provisioned compute - globally
  • Tenant-level branching, backups, schema migration, and insights

We are in public preview currently. You can sign up to Nile at https://console.thenile.dev/

This is a great resource to read more about Nile in 3 minutes https://www.thenile.dev/docs/nile-in-3-minutes

Screen Shot 2024-09-18 at 9 20 04 AM

Documentation

Nile is in public preview. For documentation, you can check out https://www.thenile.dev/docs. You can sign up to Nile at https://console.thenile.dev/.

Community & Support

niledatabase's People

Contributors

0xsj avatar dependabot[bot] avatar framiere avatar gwenshap avatar jeffbarg avatar jerrinot avatar jnidzwetzki avatar jrea avatar kylec32 avatar lino-levan avatar mcadariu avatar pmbauer avatar scottydawg avatar sriramsub avatar trace2798 avatar vijaygenius123 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

niledatabase's Issues

the example implementation seems to set the userId and tenantId on a singleton

in the nodejs/react example the nile server is instantiated in the index.ts file (

)

and then in the middleware the following properties are set:

nile.token = getUserToken(req.cookies);

  nile.token = getUserToken(req.cookies);
  nile.userId = getUserId(req.cookies);

these values are used in other handlers. this looks like it is introducing a race condition where a next request can overwrite the values before the current request is fully handled? wouldn't it be better to pass the userid and token with the requestcontext?

circular link in auth guide docs

This is minor. At the bottom of the auth guide for next.js , there is a link called "Query as a User with Next.js" under the "Next Up:" header. Clicking on this just redirects to the exact same guide url (https://www.thenile.dev/docs/user-authentication/email-login/nextjs) - and brings the scroll to the top since the page is re-rendered. This creates a circular navigation experience, and could be misleading for new users.

I'd suggest either removing this link, or updating to a different "next step" guide for querying users, if one exists.

Onboarding fail with 404

When starting for the first time the user-journey is great, but it ended for me at least, in a 404 page.

Of course is not a big deal because you can just reload the console and all was correctly created.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.