Skip to content

Remove the in-memory database #15109

Open
Open
@hugodutka

Description

@hugodutka

The in-memory database is currently only used in tests. It was originally added to ensure tests that do not depend on complex db logic can pass quickly.

However, I've recently ran performance tests on the postgres and in-memory test suites (both on full suites and on individual tests) and it seems there's almost no timing difference between them. After talking to @kylecarbs we've decided to get rid of the in-memory database and see what happens. If we see there was a good reason for it to exist then we'll bring it back.

Currently, coder supports the --in-memory flag. It should be deprecated and replaced by the --ephemeral flag, which would initialize a new postgres db every time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy