Application Services

Each hyper application may contain several application service types: Data, Storage, Cache, Queue, and Search.

Data

The data service manages structured JSON documents into containers called databases. You can add, update, read, and delete these documents using REST API commands. You can also create indexes and query the document store.

Each hyper application contains a single data service instance. All your structured JSON documents will be stored in a single database for a single hyper application.

  • Query selectors for flexible document retrieval
  • Indexes speed document retrieval

Adding a document to your hyper application data service

Deno
Node.js

Learn By Doing!

Dive deeper into hyper by completing our workshops on GitHub.

Document Database Design

Document Database Design is a different mindset from relational database design. In order to design a document database, you need to think about how the application is going to use the data and model your data in terms of data access, not data tables. Learn more.

Storage

Coming Soon

The Storage service feature is not currently available. Only the Data and Cache services are available in the hyper cloud Developer Preview version.

The storage service gives you the ability to store unstructured data, such as image files. The storage service takes away the hassle of having to use a separate service to store images, avatars, and text files. With the storage service, you can create storage spaces, upload, and download files.

Storage Features

  • Create and remove storage buckets
  • Upload images, videos, and files
  • Use the path parameter to organize your files within folders
  • Secure your files with JWT Bearer Authorization.
  • Add a code snippet
  • Link to a code sample on GH.

Cache

Cache Now Available!

The Cache service feature is now available with the Developer Preview version.

The Cache service provides a create, read, update and delete interface to a key/value cache. Use it to implement cache invalidation strategies in your application and keep stress off of your data stores when users are requesting very hot paths. The design goal of this service was simplicity and ease of use. You provide a key and a JSON document to your cache store and it is cached. You get the document from your cache by making a simple GET call with the key identifier.

Cache Features

  • ttl or Time To Live, specifies how long you want to cache a document.
  • Query using simple pattern matching which provides the ability to pull a batch of keys in a single request.
  • Add a code snippet
  • Link to a code sample on GH.

Queue

Coming Soon

The Queue service feature is not currently available. Only the Data and Cache services are available in the hyper cloud Developer Preview version.

The Queue service provides the ability to perform background processing without having to manage your own queue servers. It works great for serverless implementations that need to offload short-lived processes to prevent slow-running transactions for the client application.

Common Queue Use Cases

  • Sending emails
  • Sending SMS messages
  • Notifying another system about an interesting event
  • Add a code snippet
  • Link to a code sample on GH.

Coming Soon

The Search service feature is not currently available. Only the Data and Cache services are available in the hyper cloud Developer Preview version.

Tame the complexity of running your own search engine using hyper's powerful search engine without having to deal with separate services. Simply POST documents to a search index and use the query command to get a set of matches. Our search engine sits right next to your data, storage, and cache for highly composable integration possibilities.

Search Features

  • Query Command - using a simple query text and optional filter you have a fully-featured search at your disposal.
  • Bulk Document Indexing - create indexes using an array of documents to reduce round trips and quickly initialize your search engine.
  • Add a code snippet
  • Link to a code sample on GH.

ο»Ώ