Giter Club home page Giter Club logo

ticketing-service's Introduction

Ticketing Service

A basic ticketing service application.

Assume a venue like so:

        a1 ......... a100
        b1 ......... b100
                .
                .
                .
        z1 ......... z100

Features

The ticketing service agent accepts requests from a customer for a given number of seats and returns the best seats, if any are available.

Design Choices

This is a simple command line application. It can also accept client connections via tcp. There is a client project ticketing-service-client.

How Tos

  1. Start the ticketing-service application using gradle's bootRun plugin. From the project directory enter command: gradle bootRun. Please note that a version of Java 8 and Gradle must be in the Path.

  2. If the application runs successfully, you will get the following prompts in sequence:

a. To enter an email address b. To request X number of seats c. To confirm a reservation

If there seats available and reservation period has not expired, you will get an alphanumeric confirmation code.

Scaling the solution

Two things would need to be done to scale this solution:

  1. A shared resilient and replication repository with geographic considerations
  2. A queuewhere incoming requests are queued and processed in turn.

ticketing-service's People

Contributors

nebiyou-tibebu avatar

Watchers

James Cloos avatar  avatar

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.