GithubHelp home page GithubHelp logo

access-company / antikythera Goto Github PK

View Code? Open in Web Editor NEW
213.0 213.0 19.0 1.97 MB

Elixir framework to build your own in-house PaaS

License: Apache License 2.0

Elixir 99.91% HTML 0.03% Haml 0.05% Shell 0.02%
elixir erlang-otp faas paas web-server

antikythera's People

Contributors

adaichiota avatar adaikikamata avatar amasakitakahashi avatar amikechen avatar anobuhisamasaki avatar asyorikano avatar ayukisekiguchi avatar double-oxygen avatar fumipo-theta avatar irista56 avatar s417-lama avatar sekit avatar sylph01 avatar toyoaki-k avatar ttokit avatar ymtszw 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  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

antikythera's Issues

Use nomnoml for diagrams?

I redrew a diagram using nomnoml. I can draw more if wanted.

Original:

image

Nomnoml:

nomnoml(1)

[Load Balancer | HTTPS and Websocket Traffic] -> 1..* [Erlang VM (per server) |

[antikythera core | 
Domain-based request routing
]->[gear_x]
[antikythera core]->[gear_y]

[gear_y] -- [<note> Gear-to-gear communication]
[gear_x] -- [<note> Gear-to-gear communication]
[antikythera core] -- [<note> More gears..]
]

[Load Balancer | HTTPS and Websocket Traffic] -> [<note> More Erlang vms]
[Erlang VM (per server)] <-> [<note> Inter-node communication for websockets and async jobs]

Useful sites:

Roadmap?

Hi antikythera team,

I investigating this project and was wondering if there is a roadmap or a list of things that the team wants to have.

The contribution guide mentions to use the mailing list, but there's no activity there so I hope using the issues tracker for discussions is fine.

Thanks

Adding `SameSite` to `Antikythera.Http.SetCookie`

Rationale

Antikythera.Http.SetCookie lacks the option to set the SameSite attribute of Set-Cookie header, and now it is forced into using SameSite=Lax.
As my team and I came across a need to set the SameSite directive to SameSite=none (especially in combination with Antikythera.Session), I am raising this issue and proposing the addition of this functionality. This would also help gears that want to enforce SameSite=strict.

Proposed changes

  • Add same_site field to Antikythera.Http.SetCookie
    • This will be an enum that takes either :lax, :strict, or :none
    • Adding a field under the SetCookie module's field list and adding a type would do this
    • I am ready to write up a patch for this change
  • Add an interface to Antikythera.Plug.Session.load/2
    • When explicitly adding a Cookie entry, passing an optional argument to Antikythera.Conn.put_resp_cookie/4 can achieve this
    • But when used in combination with Antikythera.Plug.Session.load/2 it is not trivial, so I would like advice on how to change this
      • As of right now, I am thinking of passing options under :set_cookie key, then passing this option to make_before_send/2 (this would add an argument and thus change the signature to make_before_send/3 ) so that it can be passed onto Antikythera.Conn.put_resp_cookie/4 (now called with only 3 arguments).

Relevant references

Relaxing limitation of versions?

When I tried to compile antikythera_instance_example.
It brings following errors:

antikythera_instance_example% mix deps.get
** (Mix.Error) Incorrect Erlang/OTP version! required: '20.2.2', used: '20.3.4'
    (mix) lib/mix.ex:291: Mix.raise/1
    deps/antikythera/mix_common.exs:22: (module)
    (stdlib) erl_eval.erl:670: :erl_eval.do_apply/6
    (stdlib) erl_eval.erl:122: :erl_eval.exprs/5

Yeah, I use latest stable versions OTP 20.3.4 and Elixir 1.6.4.
It seems the program works correctly.

But personaly, to being used this product widely, I think it needs to relaxing limitation of versions.
I'm glad you to If you consider it.

Thanks.

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.